package com.cocolover2.andbase.annotations;

import android.support.annotation.IntDef;

import com.cocolover2.andbase.contants.PermissionCodes;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * android 权限申请的码
 * Created by liubo on 7/26/16.
 *
 * @since 1.1.1
 */
@IntDef({PermissionCodes.CODE_CAMERA,
        PermissionCodes.CODE_STORAGE,
        PermissionCodes.CODE_CALENDAR,
        PermissionCodes.CODE_CONTACTS,
        PermissionCodes.CODE_LOCATION,
        PermissionCodes.CODE_PHONE,
        PermissionCodes.CODE_RECORD_AUDIO,
        PermissionCodes.CODE_SMS,
        PermissionCodes.CODE_SENSORS})
@Retention(RetentionPolicy.SOURCE)
public @interface PermissionCode {
}
